From 17d05a9d6e75a168b188dbe7b32820bd48f9c6c9 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Sat, 9 Apr 2022 18:20:55 +0200 Subject: [PATCH 1/2] cmake: use rem/re target names and link math lib --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9f60b5f0..6b962f68 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,4 +147,4 @@ endif() add_executable(${PROJECT_NAME} ${SRCS} ) -target_link_libraries(${PROJECT_NAME} -lrem -lre -lz -lpthread) +target_link_libraries(${PROJECT_NAME} rem re -lz -lpthread -lm) From 568754cd1552747ece7ed5903e6f5592b8865747 Mon Sep 17 00:00:00 2001 From: Sebastian Reimers Date: Sat, 9 Apr 2022 20:47:06 +0200 Subject: [PATCH 2/2] cmake: add local re/rem includes --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b962f68..d6a9672f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,6 +31,8 @@ option(USE_OPENSSL "Enable OpenSSL" ${OPENSSL_FOUND}) include_directories( src + ../re/include + ../rem/include /usr/local/include /usr/local/include/re /usr/local/include/rem