diff options
Diffstat (limited to 'NetEx/CMakeLists.txt')
-rw-r--r-- | NetEx/CMakeLists.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/NetEx/CMakeLists.txt b/NetEx/CMakeLists.txt index ccb0f01..5bce174 100644 --- a/NetEx/CMakeLists.txt +++ b/NetEx/CMakeLists.txt @@ -17,13 +17,18 @@ add_library( NetServer.cpp NetSock.cpp ) -set(WINDOWSSDK_PATH "C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um") target_include_directories( NetEx PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} - PUBLIC ${WINDOWSSDK_PATH} # FIXME ) target_link_libraries( NetEx PUBLIC FoundationEx ) +if(MSVC) + target_include_directories( + NetEx + PUBLIC ${WINDOWSSDK_PATH}/um + PUBLIC ${WINDOWSSDK_PATH}/shared + ) +endif() |