File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ target_include_directories(mir PRIVATE ${PROJECT_SOURCE_DIR})
46
46
if (Threads_FOUND)
47
47
target_compile_definitions (mir PUBLIC "MIR_PARALLEL_GEN" )
48
48
endif ()
49
+ if (UNIX )
50
+ target_link_libraries (mir m)
51
+ endif ()
49
52
50
53
# ------------------ LIBMIR -----------------------
51
54
add_library (mir_static STATIC )
@@ -65,9 +68,9 @@ target_link_libraries(c2m mir ${CMAKE_DL_LIBS} )
65
68
66
69
# ------------------ MIR RUN ----------------------
67
70
68
- add_executable (mir-run "mir-run.c" )
69
- target_include_directories (mir-run PRIVATE ${PROJECT_SOURCE_DIR} )
70
- target_link_libraries (mir-run mir ${CMAKE_DL_LIBS} )
71
+ # add_executable (mir-run "mir-run.c")
72
+ # target_include_directories (mir-run PRIVATE ${PROJECT_SOURCE_DIR})
73
+ # target_link_libraries(mir-run mir ${CMAKE_DL_LIBS} )
71
74
72
75
# ------------------ MIR utils --------------------
73
76
add_executable (m2b "mir-utils/m2b.c" )
You can’t perform that action at this time.
0 commit comments