RUN_OUTPUT_VARIABLE semopen_runmsg)
if(semopen_compilable)
- if(NOT semopen_retval) # error if not 0
+ if(NOT semopen_retval) # error if not 0
message(STATUS "sem_open is compilable and executable")
set(HAVE_SEM_OPEN 1)
else()
RUN_OUTPUT_VARIABLE seminit_runmsg)
if(seminit_compilable)
- if(NOT seminit_retval) # error if not 0
+ if(NOT seminit_retval) # error if not 0
message(STATUS "sem_init is compilable and executable")
set(HAVE_SEM_INIT 1)
else()
set(CMAKE_MACOSX_RPATH TRUE)
if(APPLE)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) # When installed, use system path
- set(CMAKE_SKIP_BUILD_RPATH FALSE) # When executing from build tree, take the lib from the build path if exists
- set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) # When executing from build tree, take the lib from the system path if exists
+ set(CMAKE_SKIP_BUILD_RPATH FALSE) # When executing from build tree, take the lib from the build path if exists
+ set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) # When executing from build tree, take the lib from the system path if exists
# add the current location of libsimgrid-java.dynlib as a location for libsimgrid.dynlib
# (useful when unpacking the native libraries from the jarfile)