X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=CMakeLists.txt;h=fc19ba0fcdb76d9b87766f468d40b08ac786eb12;hb=1aec6976ef761bf55021c3a962d5a79adbf6c5e6;hp=1723ee2d19216d59981f6a5d024f42f461e31507;hpb=438da2d98c134b9adb5d13459710d661035b861e;p=debian%2Fpforth diff --git a/CMakeLists.txt b/CMakeLists.txt index 1723ee2..fc19ba0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,7 +54,7 @@ endif(UNISTD) # 1. Build pforth executable add_executable(pforth csrc/pf_main.c) -target_link_libraries(pforth ${PROJECT_NAME}_lib) +target_link_libraries(pforth ${PROJECT_NAME}_lib m) # 2. Build pforth.dic by compiling system.fth set(PFORTH_DIC "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/pforth.dic") @@ -83,7 +83,7 @@ add_dependencies(${PROJECT_NAME}_lib_sd pforth_dic_header) # 4. Build pforth_standalone using the precompiled dictionary. add_executable(pforth_standalone csrc/pf_main.c) -target_link_libraries(pforth_standalone ${PROJECT_NAME}_lib_sd) +target_link_libraries(pforth_standalone ${PROJECT_NAME}_lib_sd m) target_compile_definitions(pforth_standalone PRIVATE PF_STATIC_DIC) add_dependencies(pforth_standalone pforth_dic_header)