Skip to content

Commit

Permalink
Make dynamic code generation optional
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleFromKitware committed Jun 20, 2019
1 parent f77bb26 commit b70b972
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ option(FFS_USE_DILL "Enable Dill code generation" ON)
if(FFS_USE_DILL)
find_package(dill 2.3.1 REQUIRED)
set(HAVE_DILL_H ON)
set(FFS_CONVERSION_GENERATION_DEFAULT ${DILL_HAS_NATIVE_DCG})
option(FFS_CONVERSION_GENERATION_DEFAULT "Enable dynamic code generation" ${DILL_HAS_NATIVE_DCG})
mark_as_advanced(FFS_CONVERSION_GENERATION_DEFAULT)
set(DO_DCG TRUE)
target_link_libraries(ffs PRIVATE dill::dill)
list(APPEND _pkg_config_private_reqs "dill >= ${dill_VERSION}")
Expand Down

0 comments on commit b70b972

Please sign in to comment.