33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
diff --git a/runtime/Cpp/CMakeLists.txt b/runtime/Cpp/CMakeLists.txt
|
|
index 390078151..de657dcc4 100644
|
|
--- a/runtime/Cpp/CMakeLists.txt
|
|
+++ b/runtime/Cpp/CMakeLists.txt
|
|
@@ -39,10 +39,10 @@ if(CMAKE_VERSION VERSION_EQUAL "3.3.0" OR
|
|
CMAKE_POLICY(SET CMP0054 OLD)
|
|
endif()
|
|
|
|
-if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
- find_package(PkgConfig REQUIRED)
|
|
- pkg_check_modules(UUID REQUIRED uuid)
|
|
-endif()
|
|
+#if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
+# find_package(PkgConfig REQUIRED)
|
|
+# pkg_check_modules(UUID REQUIRED uuid)
|
|
+#endif()
|
|
if(APPLE)
|
|
find_library(COREFOUNDATION_LIBRARY CoreFoundation)
|
|
endif()
|
|
diff --git a/runtime/Cpp/runtime/CMakeLists.txt b/runtime/Cpp/runtime/CMakeLists.txt
|
|
index 2c5e7376f..bcc0134dc 100644
|
|
--- a/runtime/Cpp/runtime/CMakeLists.txt
|
|
+++ b/runtime/Cpp/runtime/CMakeLists.txt
|
|
@@ -25,7 +25,7 @@ file(GLOB libantlrcpp_SRC
|
|
add_library(antlr4_shared SHARED ${libantlrcpp_SRC})
|
|
add_library(antlr4_static STATIC ${libantlrcpp_SRC})
|
|
|
|
-set(LIB_OUTPUT_DIR "${CMAKE_HOME_DIRECTORY}/dist") # put generated libraries here.
|
|
+set(LIB_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}/output/lib")
|
|
message(STATUS "Output libraries to ${LIB_OUTPUT_DIR}")
|
|
|
|
# make sure 'make' works fine even if ${LIB_OUTPUT_DIR} is deleted.
|