Skip to content

Commit

Permalink
fix scenario where ilmimf is being compiled from parent directory
Browse files Browse the repository at this point in the history
need to use current source dir so test images can be found

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
  • Loading branch information
kdt3rd authored and nickrasmussen committed Aug 8, 2018
1 parent dc7cb41 commit c246315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenEXR/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ IF (NOT ILMBASE_PACKAGE_PREFIX)
SET (ILMBASE_PACKAGE_PREFIX ${CMAKE_INSTALL_PREFIX})
ENDIF ()

ADD_DEFINITIONS (-DILM_IMF_TEST_IMAGEDIR="${CMAKE_SOURCE_DIR}/IlmImfTest/" )
ADD_DEFINITIONS (-DILM_IMF_TEST_IMAGEDIR="${CMAKE_CURRENT_SOURCE_DIR}/IlmImfTest/" )

IF (NOT WIN32)
SET ( PTHREAD_LIB pthread )
Expand Down

0 comments on commit c246315

Please sign in to comment.