mirror of
https://github.com/lubosz/overte.git
synced 2025-08-08 03:27:48 +02:00
add debug to catch LIB_PATHS override
This commit is contained in:
parent
d0d4eaec86
commit
c3b71196c7
1 changed files with 5 additions and 0 deletions
|
@ -10,9 +10,14 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
macro(ADD_PATHS_TO_LIB_PATHS)
|
macro(ADD_PATHS_TO_LIB_PATHS)
|
||||||
|
message(STATUS "ADD_PATHS called with ${ARGN}")
|
||||||
foreach(_PATH ${ARGN})
|
foreach(_PATH ${ARGN})
|
||||||
|
message(STATUS "ADDING ${_PATH}")
|
||||||
|
message(STATUS "CURRENT LIB_PATHS is ${LIB_PATHS}")
|
||||||
set(TEMP_LIB_PATHS ${LIB_PATHS})
|
set(TEMP_LIB_PATHS ${LIB_PATHS})
|
||||||
list(APPEND TEMP_LIB_PATHS ${_PATH})
|
list(APPEND TEMP_LIB_PATHS ${_PATH})
|
||||||
|
|
||||||
set(LIB_PATHS ${TEMP_LIB_PATHS} CACHE TYPE LIST FORCE)
|
set(LIB_PATHS ${TEMP_LIB_PATHS} CACHE TYPE LIST FORCE)
|
||||||
|
message(STATUS "LIB PATHS IS NOW ${LIB_PATHS}")
|
||||||
endforeach()
|
endforeach()
|
||||||
endmacro()
|
endmacro()
|
Loading…
Reference in a new issue