mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 00:27:44 +00:00
only build stackwalker on win32 targets
This commit is contained in:
parent
f7a56b5112
commit
a7f69fe8b5
1 changed files with 7 additions and 3 deletions
10
deps/stackwalker/CMakeLists.txt
vendored
10
deps/stackwalker/CMakeLists.txt
vendored
|
@ -1,7 +1,11 @@
|
||||||
cmake_minimum_required(VERSION 3.0.2)
|
cmake_minimum_required(VERSION 3.0.2)
|
||||||
project(Sapphire)
|
project(Sapphire)
|
||||||
|
|
||||||
file( GLOB STACKWALKER_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.h*" )
|
if( WIN32 )
|
||||||
file( GLOB STACKWALKER_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.c*" )
|
|
||||||
|
|
||||||
add_library( stackwalker ${STACKWALKER_INCLUDE_FILES} ${STACKWALKER_SOURCE_FILES} )
|
file( GLOB STACKWALKER_INCLUDE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.h*" )
|
||||||
|
file( GLOB STACKWALKER_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.c*" )
|
||||||
|
|
||||||
|
add_library( stackwalker ${STACKWALKER_INCLUDE_FILES} ${STACKWALKER_SOURCE_FILES} )
|
||||||
|
|
||||||
|
endif()
|
Loading…
Add table
Reference in a new issue