mirror of
https://github.com/lubosz/overte.git
synced 2025-04-08 14:42:19 +02:00
fix dynamic requirements in find modules
This commit is contained in:
parent
ecbbb481d0
commit
10cdbc4fa0
4 changed files with 5 additions and 5 deletions
|
@ -29,7 +29,7 @@ endif ()
|
|||
include(SelectLibraryConfigurations)
|
||||
select_library_configurations(LEAPMOTION)
|
||||
|
||||
set(LEAPMOTION_LIBRARIES "${LEAPMOTION_LIBRARY}")
|
||||
set(LEAPMOTION_LIBRARIES ${LEAPMOTION_LIBRARY})
|
||||
|
||||
set(LEAPMOTION_REQUIREMENTS LEAPMOTION_INCLUDE_DIRS LEAPMOTION_LIBRARIES)
|
||||
if (WIN32)
|
||||
|
@ -37,7 +37,7 @@ if (WIN32)
|
|||
endif ()
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(LeapMotion DEFAULT_MSG LEAPMOTION_REQUIREMENTS)
|
||||
find_package_handle_standard_args(LeapMotion DEFAULT_MSG ${LEAPMOTION_REQUIREMENTS})
|
||||
|
||||
if (WIN32)
|
||||
add_paths_to_lib_paths(${LEAPMOTION_DLL_PATH})
|
||||
|
|
|
@ -266,7 +266,7 @@ if (WIN32)
|
|||
list(APPEND SDL2_REQUIREMENTS SDL2_DLL_PATH)
|
||||
endif ()
|
||||
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 REQUIRED_VARS SDL2_REQUIREMENTS)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SDL2 REQUIRED_VARS ${SDL2_REQUIREMENTS})
|
||||
|
||||
if (WIN32)
|
||||
add_paths_to_lib_paths(${SDL2_DLL_PATH})
|
||||
|
|
|
@ -48,7 +48,7 @@ endif ()
|
|||
set(SIXENSE_LIBRARIES "${SIXENSE_LIBRARY}")
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(Sixense DEFAULT_MSG SIXENSE_REQUIREMENTS)
|
||||
find_package_handle_standard_args(Sixense DEFAULT_MSG ${SIXENSE_REQUIREMENTS})
|
||||
|
||||
if (WIN32)
|
||||
add_paths_to_lib_paths(${SIXSENSE_DEBUG_DLL_PATH})
|
||||
|
|
|
@ -85,7 +85,7 @@ if (WIN32)
|
|||
list(APPEND TBB_REQUIREMENTS TBB_DLL_PATH)
|
||||
endif ()
|
||||
|
||||
find_package_handle_standard_args(TBB DEFAULT_MSG TBB_REQUIREMENTS)
|
||||
find_package_handle_standard_args(TBB DEFAULT_MSG ${TBB_REQUIREMENTS})
|
||||
|
||||
if (WIN32)
|
||||
add_paths_to_lib_paths(${TBB_DLL_PATH})
|
||||
|
|
Loading…
Reference in a new issue