Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more robust win32 directory finding?

  • Loading branch information...
commit a5c3db249bbed797eda891cb7fed9b4243fab14e 1 parent a68a8fc
@royshil royshil authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  firebreath-plugin/Win/projectDef.cmake
View
3  firebreath-plugin/Win/projectDef.cmake
@@ -33,10 +33,11 @@ add_windows_plugin(${PROJECT_NAME} SOURCES)
add_dependencies(${PROJECT_NAME} simple_templater)
+get_filename_component(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
add_custom_command(TARGET ${PROJECT_NAME}
POST_BUILD
COMMAND copy_binary_win32.bat ${CMAKE_CFG_INTDIR}
- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR}/../"
)
# This is an example of how to add a build step to sign the plugin DLL before
Please sign in to comment.
Something went wrong with that request. Please try again.