Skip to content

Commit

Permalink
make pyilmbase tests conditional
Browse files Browse the repository at this point in the history
This makes the PyIlmBase tests conditional in the same manner as OpenEXR
and IlmBase

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
  • Loading branch information
kdt3rd authored and nickrasmussen committed Aug 9, 2018
1 parent b610ff3 commit 07951c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion OpenEXR/IlmImfTest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ADD_EXECUTABLE ( IlmImfTest
testYca.cpp
)

SET_ILMBASE_INCLUDE_DIRS( IlmImfTest )
SET_ILMBASE_INCLUDE_DIRS( IlmImfTest )

ADD_TEST ( TestIlmImf IlmImfTest )
TARGET_LINK_LIBRARIES ( IlmImfTest
Expand Down
7 changes: 5 additions & 2 deletions PyIlmBase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@ ENDIF ()
##########################
# Tests
##########################
ADD_SUBDIRECTORY ( PyIexTest )
ADD_SUBDIRECTORY ( PyImathTest )
IF (ENABLE_TESTS)
ADD_SUBDIRECTORY ( PyIexTest )
ADD_SUBDIRECTORY ( PyImathTest )
ENDIF ()

0 comments on commit 07951c8

Please sign in to comment.