Skip to content

Commit bb732ff

Browse files
committed
Fix compiled package output paths.
1 parent 897f679 commit bb732ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/packages/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ foreach(PACKAGE ${COMPILED_PACKAGES})
5858
get_filename_component(PNAME ${PACKAGE} NAME_WE)
5959
pybind11_add_module(${PNAME} SHARED ${SOURCE_PACKAGEDIR}/${PACKAGE})
6060
set_target_properties(${PNAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cdb/${PINSTALL}")
61+
set_target_properties(${PNAME} PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/cdb/${PINSTALL}")
6162
target_link_libraries(${PNAME} PUBLIC cadabra2 ${GMPXX_LIBRARIES})
6263
target_include_directories(${PNAME} PUBLIC ${CADABRA_CORE_DIR})
6364
install(TARGETS ${PNAME} DESTINATION ${PYTHON_CDB_PACKAGE_PATH}/${PINSTALL})

0 commit comments

Comments
 (0)