Skip to content

Commit

Permalink
Fix CMake. Was putting plugins in extensions instead of mods.
Browse files Browse the repository at this point in the history
  • Loading branch information
uclatommy committed Jan 21, 2017
1 parent 7a29e5c commit 126c25d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME}
gtest
)

install(TARGETS ${PROJECT_NAME} DESTINATION extensions/plugins)
install(TARGETS ${PROJECT_NAME} DESTINATION mods/plugins)
install(FILES pycell.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
install(FILES pycell_config.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
install(FILES PyCell/custom.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
install(DIRECTORY PyCell/Plugins DESTINATION ${CMAKE_INSTALL_PREFIX}/extensions)
install(DIRECTORY PyCell/Plugins DESTINATION ${CMAKE_INSTALL_PREFIX}/mods)

add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD COMMAND ../post-build.sh . lib${PROJECT_NAME}.dylib)

0 comments on commit 126c25d

Please sign in to comment.