Skip to content

Commit

Permalink
Allow the MyApp-qt example to be run from Visual Studio
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-webb committed Aug 7, 2023
1 parent e173862 commit f01ebf6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cmake/win32_target_environment_path.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ function(get_target_environment_path varName)
set(EXPAT_DLL_DIR "${EXPAT_LIB_DIR}/../bin")
set(LOG4CXX_DLL_DIR "$<SHELL_PATH:$<TARGET_FILE_DIR:log4cxx>>;")
set(PATH_FOR_TESTS ${CMAKE_PROGRAM_PATH};${APR_DLL_DIR};${APR_UTIL_DLL_DIR};${LOG4CXX_DLL_DIR};${EXPAT_DLL_DIR}\;)
if(LOG4CXX_QT_SUPPORT)
list(APPEND PATH_FOR_TESTS "$<SHELL_PATH:$<TARGET_FILE_DIR:log4cxx-qt>>\;")
endif(LOG4CXX_QT_SUPPORT)
list(REMOVE_DUPLICATES PATH_FOR_TESTS)

# Note: we need to include the APR DLLs on our path so that the tests will run.
Expand Down

0 comments on commit f01ebf6

Please sign in to comment.