Skip to content
Snippets Groups Projects
Commit 387515d0 authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Fixed problem with locating compound lib in out of sources builds using

relative paths
parent 36c3d9fa
Branches
Tags
No related merge requests found
......@@ -152,7 +152,7 @@ add_definitions(-DEIGEN2_SUPPORT)
if (COMPOUND_LIB)
set(_COMP_LIB "${COMPOUND_LIB}")
if (NOT IS_ABSOLUTE "${COMPOUND_LIB}")
set(COMPOUND_LIB "${CMAKE_CURRENT_SOURCE_DIR}/${COMPOUND_LIB}")
set(COMPOUND_LIB "${CMAKE_CURRENT_BINARY_DIR}/${COMPOUND_LIB}")
endif()
else()
set(_COMP_LIB "NONE")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment