Skip to content

Commit ed18024

Browse files
committed
Fix detection of OPENCOARRAYS_DEVELOPER from env
1 parent fac4111 commit ed18024

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ set ( CMAKE_BUILD_TYPE "Release"
77
set_property ( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS ${CMAKE_CONFIGURATION_TYPES} )
88

99
# Add option and check environment to determine if developer tests should be run
10-
if(ENV{OPENCOARRAYS_DEVELOPER})
10+
if(DEFINED ENV{OPENCOARRAYS_DEVELOPER})
1111
option(RUN_DEVELOPER_TESTS "Run tests intended only for developers" ON)
1212
else()
1313
option(RUN_DEVELOPER_TESTS "Run tests intended only for developers" OFF)

0 commit comments

Comments
 (0)