We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f53de47 commit cb8f9e6Copy full SHA for cb8f9e6
CMakeLists.txt
@@ -13,7 +13,12 @@ source_group("MathLib/Guts" FILES ${MATHLIB_GUTS})
13
14
set_property(SOURCE "ml.hlsli" PROPERTY VS_SETTINGS "ExcludedFromBuild=true")
15
16
-add_library(MathLib INTERFACE ${MATHLIB_H} ${MATHLIB_GUTS})
+if(WIN32)
17
+ add_library(MathLib INTERFACE ${MATHLIB_H} ${MATHLIB_GUTS})
18
+else()
19
+ add_library(MathLib INTERFACE)
20
+endif()
21
+
22
target_include_directories(MathLib INTERFACE .)
23
set_property(TARGET MathLib PROPERTY FOLDER "MathLib")
24
0 commit comments