Skip to content

Commit

Permalink
windows/cmake: Commands depend on Half.dll which needs to be in path.…
Browse files Browse the repository at this point in the history
… Running commands in Half.dll's directory addresses this and the commands run on first invocation
  • Loading branch information
es0m authored and nickrasmussen committed Aug 8, 2018
1 parent c330c40 commit 1a23716
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions OpenEXR/IlmImf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ADD_CUSTOM_COMMAND (
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/b44ExpLogTable.h
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/b44ExpLogTable > ${CMAKE_CURRENT_BINARY_DIR}/b44ExpLogTable.h
DEPENDS b44ExpLogTable
WORKING_DIRECTORY ${ILMBASE_PACKAGE_PREFIX}/lib
)

ADD_EXECUTABLE ( dwaLookups
Expand All @@ -34,6 +35,7 @@ ADD_CUSTOM_COMMAND (
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/dwaLookups.h
COMMAND ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/dwaLookups > ${CMAKE_CURRENT_BINARY_DIR}/dwaLookups.h
DEPENDS dwaLookups
WORKING_DIRECTORY ${ILMBASE_PACKAGE_PREFIX}/lib
)

SET ( ILMIMF_SRCS
Expand Down

0 comments on commit 1a23716

Please sign in to comment.