diff --git a/drogon_ctl/CMakeLists.txt b/drogon_ctl/CMakeLists.txt index 9f2f1e74..249c453d 100755 --- a/drogon_ctl/CMakeLists.txt +++ b/drogon_ctl/CMakeLists.txt @@ -19,7 +19,11 @@ add_executable(_drogon_ctl target_link_libraries(_drogon_ctl ${PROJECT_NAME}) if (WIN32 AND BUILD_SHARED_LIBS) set(DROGON_FILE $) - set(TRANTOR_FILE $) + if (USE_SUBMODULE) + set(TRANTOR_FILE $) + else() + set(TRANTOR_FILE $) + endif() add_custom_command(TARGET _drogon_ctl POST_BUILD COMMAND ${CMAKE_COMMAND} -DCTL_FILE=${DROGON_FILE}