Skip to content

Commit

Permalink
fix include path for cjson
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryptkeeper committed May 3, 2024
1 parent e5b385a commit 9f47224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ file(GLOB HEADERS "include/*.h")
add_executable(fsautoproc ${SOURCES} ${HEADERS})

target_link_directories(fsautoproc PRIVATE ${CJSON_LIBRARY_DIRS})
target_link_libraries(fsautoproc PRIVATE dep/logc ${CJSON_LIBRARIES} pthread)
target_link_libraries(fsautoproc PRIVATE logc ${CJSON_LIBRARIES} pthread)

target_include_directories(fsautoproc PRIVATE "include" "dep/logc/src" ${CJSON_INCLUDE_DIRS})
target_include_directories(fsautoproc PRIVATE "include" "dep")

install(TARGETS fsautoproc DESTINATION bin)

0 comments on commit 9f47224

Please sign in to comment.