diff --git a/CMakeLists.txt b/CMakeLists.txt index 13e254a..76486e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,7 +21,7 @@ if(WIN32) COMMAND ${CMAKE_COMMAND} -E copy $ ${CMAKE_BINARY_DIR}/sqlite3.exe DEPENDS sqlite ) - install(FILES sqlite3.exe DESTINATION bin) + install(FILES ${CMAKE_BINARY_DIR}/sqlite3.exe DESTINATION bin) else() include(FindThreads) target_link_libraries(sqlite m ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS})