mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 22:32:23 +02:00
Clean up BugSplat cmake
This commit is contained in:
parent
27384dbe0a
commit
20cf7c0099
2 changed files with 4 additions and 6 deletions
|
@ -8,6 +8,7 @@ macro(add_bugsplat)
|
||||||
|
|
||||||
target_include_directories(${TARGET_NAME} PRIVATE ${BUGSPLAT_INCLUDE_DIRS})
|
target_include_directories(${TARGET_NAME} PRIVATE ${BUGSPLAT_INCLUDE_DIRS})
|
||||||
target_link_libraries(${TARGET_NAME} ${BUGSPLAT_LIBRARIES})
|
target_link_libraries(${TARGET_NAME} ${BUGSPLAT_LIBRARIES})
|
||||||
|
add_paths_to_fixup_libs(${BUGSPLAT_DLL_PATH})
|
||||||
|
|
||||||
add_custom_command(TARGET ${TARGET_NAME}
|
add_custom_command(TARGET ${TARGET_NAME}
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
message("in findbugsplat")
|
|
||||||
include("${MACRO_DIR}/HifiLibrarySearchHints.cmake")
|
include("${MACRO_DIR}/HifiLibrarySearchHints.cmake")
|
||||||
hifi_library_search_hints("BugSplat")
|
hifi_library_search_hints("BugSplat")
|
||||||
|
|
||||||
|
@ -14,9 +13,7 @@ if (WIN32)
|
||||||
select_library_configurations(BUGSPLAT)
|
select_library_configurations(BUGSPLAT)
|
||||||
|
|
||||||
set(BUGSPLAT_LIBRARIES ${BUGSPLAT_LIBRARY_RELEASE})
|
set(BUGSPLAT_LIBRARIES ${BUGSPLAT_LIBRARY_RELEASE})
|
||||||
|
|
||||||
set(BUGSPLAT_REQUIREMENTS BUGSPLAT_INCLUDE_DIRS BUGSPLAT_LIBRARIES BUGSPLAT_DLL_PATH BUGSPLAT_RC_DLL_PATH BUGSPLAT_EXE_PATH)
|
|
||||||
find_package_handle_standard_args(BugSplat DEFAULT_MSG ${BUGSPLAT_REQUIREMENTS})
|
|
||||||
|
|
||||||
add_paths_to_fixup_libs(${BUGSPLAT_DLL_PATH})
|
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
set(BUGSPLAT_REQUIREMENTS BUGSPLAT_INCLUDE_DIRS BUGSPLAT_LIBRARIES BUGSPLAT_DLL_PATH BUGSPLAT_RC_DLL_PATH BUGSPLAT_EXE_PATH)
|
||||||
|
find_package_handle_standard_args(BugSplat DEFAULT_MSG ${BUGSPLAT_REQUIREMENTS})
|
||||||
|
|
Loading…
Reference in a new issue