We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d694d5 commit 8ba9640Copy full SHA for 8ba9640
1 file changed
CMakeLists.txt
@@ -1,9 +1,5 @@
1
cmake_minimum_required(VERSION 3.25)
2
3
-if(UNIX AND NOT APPLE)
4
- target_link_libraries(leanui_test m)
5
-endif()
6
-
7
set(CMAKE_CXX_STANDARD 17)
8
set(CMAKE_C_STANDARD 11)
9
set(CMAKE_C_FLAGS_DEBUG "-g -O0 -DDEBUG -Wall -Wextra")
@@ -14,4 +10,8 @@ set(CMAKE_OSX_ARCHITECTURES arm64;x86_64)
14
10
15
11
project(leanui)
16
12
17
-add_executable(leanui_test ./test/test.c ./lean_ui.c)
13
+add_executable(leanui_test ./test/test.c ./lean_ui.c)
+
+if(UNIX AND NOT APPLE)
+ target_link_libraries(leanui_test m)
+endif()
0 commit comments