Commit 4061694d authored by Kelvin Rodriguez's avatar Kelvin Rodriguez Committed by Jesse Mapel
Browse files

tweeked cmakelists

parent 9b10811a
Loading
Loading
Loading
Loading
+9 −4
Original line number Diff line number Diff line
@@ -150,6 +150,12 @@ if(JP2KFLAG)
 set(JP2KFLAG 1)
endif()

if(buildTests)
  include(CTest)
  enable_testing()
endif()


# Specify flags used
# on linux, add the conda prefix to handle possible issues with rpaths at link time
# sometimes third parties do not set their rpaths correctly
@@ -609,8 +615,7 @@ install(PROGRAMS ${CMAKE_BINARY_DIR}/lib/Camera.plugin DESTINATION ${CMAKE_INSTA
#   the end of this file containing a CMakeLists.txt file which includes all of
#   the desired post-install commands inside.
add_subdirectory(cmake)

if(buildTests) 
  include(CTest)
  enable_testing()
  add_subdirectory(tests)
endif()
 No newline at end of file