Skip to content

Commit

Permalink
quick commit to see if this fixes the issue with FetchConent
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMariday committed Jan 24, 2024
1 parent 1f14693 commit d618334
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion programs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ foreach(PROGRAM ${POCKETSPHINX_PROGRAMS})
target_include_directories(
${PROGRAM} PRIVATE ${CMAKE_SOURCE_DIR}/src
${PROGRAM} PRIVATE ${CMAKE_BINARY_DIR})
add_dependencies(check ${PROGRAM})

if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
add_dependencies(check ${PROGRAM})
endif()

endforeach()
# CMake and its lovely flat namespace
set_target_properties(pocketsphinx_main PROPERTIES OUTPUT_NAME pocketsphinx)
Expand Down

0 comments on commit d618334

Please sign in to comment.