Skip to content

Commit 8ba9640

Browse files
committed
moving the command at the right place
1 parent 3d694d5 commit 8ba9640

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
cmake_minimum_required(VERSION 3.25)
22

3-
if(UNIX AND NOT APPLE)
4-
target_link_libraries(leanui_test m)
5-
endif()
6-
73
set(CMAKE_CXX_STANDARD 17)
84
set(CMAKE_C_STANDARD 11)
95
set(CMAKE_C_FLAGS_DEBUG "-g -O0 -DDEBUG -Wall -Wextra")
@@ -14,4 +10,8 @@ set(CMAKE_OSX_ARCHITECTURES arm64;x86_64)
1410

1511
project(leanui)
1612

17-
add_executable(leanui_test ./test/test.c ./lean_ui.c)
13+
add_executable(leanui_test ./test/test.c ./lean_ui.c)
14+
15+
if(UNIX AND NOT APPLE)
16+
target_link_libraries(leanui_test m)
17+
endif()

0 commit comments

Comments
 (0)