adding in crow dependencies
This commit is contained in:
+7
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user