summaryrefslogtreecommitdiffhomepage
path: root/NetEx
diff options
context:
space:
mode:
Diffstat (limited to 'NetEx')
-rw-r--r--NetEx/CMakeLists.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/NetEx/CMakeLists.txt b/NetEx/CMakeLists.txt
index c3c6652..5bce174 100644
--- a/NetEx/CMakeLists.txt
+++ b/NetEx/CMakeLists.txt
@@ -20,10 +20,15 @@ add_library(
target_include_directories(
NetEx
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
- PUBLIC ${WINDOWSSDK_PATH}/um # FIXME
- PUBLIC ${WINDOWSSDK_PATH}/shared
)
target_link_libraries(
NetEx
PUBLIC FoundationEx
)
+if(MSVC)
+ target_include_directories(
+ NetEx
+ PUBLIC ${WINDOWSSDK_PATH}/um
+ PUBLIC ${WINDOWSSDK_PATH}/shared
+ )
+endif()