mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-27 06:14:09 +00:00
Also import GMock::Main Debug library properly
This commit is contained in:
parent
49544cf7de
commit
d0adbc1b8f
@ -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 New Issue
Block a user