File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,22 +21,20 @@ aux_source_directory(cxx SOURCES)
2121
2222add_executable (cxx ${SOURCES} )
2323
24- target_link_libraries (cxx cxx-parser cxx-lsp)
24+ target_link_libraries (cxx PRIVATE cxx-parser cxx-lsp)
2525
2626target_compile_definitions (cxx PRIVATE
2727 CXX_VERSION="${CMAKE_PROJECT_VERSION} "
2828)
2929
3030# if cmake founds the Threads package, link with it
3131if (Threads_FOUND)
32- target_link_libraries (cxx Threads::Threads)
33- target_compile_options (cxx PRIVATE -pthread)
32+ target_link_libraries (cxx PRIVATE Threads::Threads)
3433else ()
35- target_compile_definitions (cxx PRIVATE CXX_NO_THREADS)
34+ target_compile_definitions (cxx PRIVATE CXX_NO_THREADS)
3635endif ()
3736
3837if (EMSCRIPTEN)
39- target_link_options (cxx PRIVATE -pthread)
4038 target_link_options (cxx PRIVATE
4139 "SHELL:-s EXIT_RUNTIME=1"
4240 "SHELL:-s WASM_BIGINT=1"
You can’t perform that action at this time.
0 commit comments