mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-01 20:41:32 +00:00
Also import GMock::Main Debug library properly
This commit is contained in:
parent
49544cf7de
commit
d0adbc1b8f
1 changed files with 10 additions and 2 deletions
|
@ -182,8 +182,16 @@ endif()
|
|||
|
||||
set_target_properties(GMock::Main PROPERTIES
|
||||
INTERFACE_LINK_LIBRARIES "GMock::GMock"
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX"
|
||||
IMPORTED_LOCATION "${GMOCK_MAIN_LIBRARY}")
|
||||
IMPORTED_LINK_INTERFACE_LANGUAGES "CXX")
|
||||
|
||||
if(EXISTS "${GMOCK_MAIN_LIBRARY}")
|
||||
set_target_properties(GMock::Main PROPERTIES
|
||||
IMPORTED_LOCATION "${GMOCK_MAIN_LIBRARY}")
|
||||
endif()
|
||||
if(EXISTS "${GMOCK_MAIN_LIBRARY_DEBUG}")
|
||||
set_target_properties(GMock::Main PROPERTIES
|
||||
IMPORTED_LOCATION "{GMOCK_MAIN_LIBRARY_DEBUG})
|
||||
endif()
|
||||
|
||||
if(GMOCK_FOUND)
|
||||
set(GMOCK_INCLUDE_DIRS ${GMOCK_INCLUDE_DIR})
|
||||
|
|
Loading…
Reference in a new issue