mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
Fix formatting issues in cmake file
This commit is contained in:
parent
10d3bdde74
commit
16b6c6305b
1 changed files with 8 additions and 9 deletions
|
@ -21,17 +21,16 @@ macro(TARGET_POLYVOX)
|
||||||
list(APPEND POLYVOX_LIBRARY_DEBUG ${POLYVOX_UTIL_LIBRARY_DEBUG})
|
list(APPEND POLYVOX_LIBRARY_DEBUG ${POLYVOX_UTIL_LIBRARY_DEBUG})
|
||||||
select_library_configurations(POLYVOX)
|
select_library_configurations(POLYVOX)
|
||||||
list(APPEND POLYVOX_INCLUDE_DIRS ${VCPKG_INSTALL_ROOT}/include)
|
list(APPEND POLYVOX_INCLUDE_DIRS ${VCPKG_INSTALL_ROOT}/include)
|
||||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||||
set(_LIB_GLOBS)
|
set(_LIB_GLOBS)
|
||||||
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
|
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
|
||||||
set(_PV_LIBRARIES ${POLYVOX_LIBRARY_DEBUG})
|
set(_PV_LIBRARIES ${POLYVOX_LIBRARY_DEBUG})
|
||||||
else()
|
else()
|
||||||
set(_PV_LIBRARIES ${POLYVOX_LIBRARY_RELEASE})
|
set(_PV_LIBRARIES ${POLYVOX_LIBRARY_RELEASE})
|
||||||
endif()
|
endif()
|
||||||
foreach(_lib ${_PV_LIBRARIES})
|
foreach(_lib ${_PV_LIBRARIES})
|
||||||
list(APPEND _LIB_GLOBS ${_lib}*)
|
list(APPEND _LIB_GLOBS ${_lib}*)
|
||||||
endforeach()
|
endforeach()
|
||||||
message("_LIB_GLOBS=" ${_LIB_GLOBS})
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${TARGET_NAME}
|
TARGET ${TARGET_NAME}
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
|
|
Loading…
Reference in a new issue