1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 14:57:44 +00:00

link stackwalker against common for windows builds

This commit is contained in:
NotAdam 2019-03-26 23:42:06 +11:00
parent ae4aab491e
commit b2245b1898
2 changed files with 11 additions and 0 deletions

7
deps/stackwalker/CMakeLists.txt vendored Normal file
View file

@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 3.0.2)
project(Sapphire)
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} )

View file

@ -26,6 +26,10 @@ if( UNIX )
PUBLIC
pthread
stdc++fs )
else()
target_link_libraries( common
PUBLIC
stackwalker )
endif()
target_include_directories( common