Skip to content

Commit 42f9c07

Browse files
committed
Fix dependencies (cmake-3.5.1).
1 parent 9bd8afb commit 42f9c07

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ foreach(module dynd.ndt.type dynd.ndt.json)
253253
TARGET ${module}
254254
PROPERTY COMPILE_DEFINITIONS PYDYND_EXPORT
255255
)
256+
# Make sure the api headers are all built and postprocessed
257+
# before anything tries to build conversions.cpp
258+
add_dependencies(${module} dynd.ndt.type_postprocess)
256259
if(DYND_INSTALL_LIB)
257260
target_link_libraries(${module} "${LIBDYNDT_LIBRARY}")
258261
else()

0 commit comments

Comments
 (0)