Skip to content

Conversation

@aescande
Copy link

@aescande aescande commented Jun 9, 2016

Since there is now an automatic handling of debug postfix, we don't need to do chose by hand the plugin we use

"LTDL_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src:$ENV{LTDL_LIBRARY_PATH}")
SET_PROPERTY(
TEST ${EXE_NAME}${PROGRAM_SUFFIX} PROPERTY ENVIRONMENT
"LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src:$ENV{LD_LIBRARY_PATH}")
Copy link
Member

@bchretien bchretien Jun 9, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless I'm missing something, we still need them on Linux, cf. what we did for roboptim-core (WIN32 check):

IF(NOT WIN32)
  SET_PROPERTY(
    TEST ${NAME} PROPERTY ENVIRONMENT
    "LTDL_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src:$ENV{LTDL_LIBRARY_PATH} "
    "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/src:$ENV{LD_LIBRARY_PATH}")
ENDIF(NOT WIN32)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants