Skip to content

Commit

Permalink
cmake: Fix include-path for ENABLE_DATAGEN=ON
Browse files Browse the repository at this point in the history
The commit b8dc1b7 moves the auto-generated files to the build-directory
but the data-generator rule was not correctly revised.
  • Loading branch information
norihiro committed Jun 14, 2024
1 parent 0bae158 commit cf8aad3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ if(ENABLE_DATAGEN)
add_executable(face-detector-dlib-hog-datagen
src/face-detector-dlib-hog-datagen.cpp
)
target_include_directories(face-detector-dlib-hog-datagen PRIVATE
${CMAKE_CURRENT_BINARY_DIR}
)
target_link_libraries(face-detector-dlib-hog-datagen
dlib
)
Expand Down

0 comments on commit cf8aad3

Please sign in to comment.