diff --git a/CMakeLists.txt b/CMakeLists.txt index c830b04..e3f381b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,9 +8,15 @@ find_package(PkgConfig REQUIRED) set(CMAKE_CXX_STANDARD 14) set (source_dir "./src") +set (include_dir "./include") file (GLOB source_files "${source_dir}/*.cpp") file (GLOB header_files "${source_dir}/*.h") add_executable(HelloWorld ${source_files}) -target_include_directories(HelloWorld PUBLIC ${source_dir}) +target_include_directories(HelloWorld PUBLIC ${include_dir}) + +# Add the path to your library installation directory +list(APPEND CMAKE_PREFIX_PATH "/home/talksik/code/crow-build/") +find_package(Crow REQUIRED) +target_link_libraries(HelloWorld PUBLIC Crow::Crow)