|
@@ -167,10 +167,14 @@ SET(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
|
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
# macosx does not have -lrt
|
|
# macosx does not have -lrt
|
|
set(NT_DEPEND_LIBRARY dl pthread z ${SNAPPY_LIBRARY} ${JAVA_JVM_LIBRARY})
|
|
set(NT_DEPEND_LIBRARY dl pthread z ${SNAPPY_LIBRARY} ${JAVA_JVM_LIBRARY})
|
|
|
|
+ set(SYSTEM_MAC TRUE)
|
|
else (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
else (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
set(NT_DEPEND_LIBRARY dl rt pthread z ${SNAPPY_LIBRARY} ${JAVA_JVM_LIBRARY})
|
|
set(NT_DEPEND_LIBRARY dl rt pthread z ${SNAPPY_LIBRARY} ${JAVA_JVM_LIBRARY})
|
|
|
|
+ set(SYSTEM_MAC FALSE)
|
|
endif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
endif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
|
|
|
|
|
|
|
+configure_file(main/native/test.sh test/test.sh)
|
|
|
|
+
|
|
add_dual_library(nativetask
|
|
add_dual_library(nativetask
|
|
${CMAKE_BINARY_DIR}/lz4.c
|
|
${CMAKE_BINARY_DIR}/lz4.c
|
|
${D}/cityhash/city.cc
|
|
${D}/cityhash/city.cc
|