summaryrefslogtreecommitdiffstats
path: root/src/Noise
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Noise/CMakeLists.txt10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Noise/CMakeLists.txt b/src/Noise/CMakeLists.txt
index b099c1766..85b3e2b8e 100644
--- a/src/Noise/CMakeLists.txt
+++ b/src/Noise/CMakeLists.txt
@@ -1,16 +1,10 @@
+target_sources(
+ ${CMAKE_PROJECT_NAME} PRIVATE
-SET (SRCS
Noise.cpp
-)
-SET (HDRS
InterpolNoise.h
Noise.h
OctavedNoise.h
RidgedNoise.h
)
-
-if(NOT MSVC)
- add_library(Noise ${SRCS} ${HDRS})
- target_link_libraries(Noise fmt::fmt OSSupport)
-endif()