Skip to content

Commit

Permalink
Fix compilation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kecsap committed Jan 14, 2018
1 parent 7849fc0 commit a96dae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions 3rdparty/indi-dsi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ include_directories( ${CFITSIO_INCLUDE_DIR})

include(CMakeCommon)

# This warning only valid for Clang above version 3.9
IF ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 3.8.9)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-undefined-var-template")
ENDIF ()

########### DSI ###########
set(indidsi_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/dsi_ccd.cpp
Expand Down
4 changes: 0 additions & 4 deletions libindi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -518,10 +518,6 @@ SET(celestrongps_SRC
${CMAKE_CURRENT_SOURCE_DIR}/drivers/telescope/celestrondriver.cpp
${CMAKE_CURRENT_SOURCE_DIR}/drivers/telescope/celestrongps.cpp)

IF (UNITY_BUILD)
ENABLE_UNITY_BUILD(celestrongps celestrongps_SRC 10 cpp)
ENDIF ()

add_executable(indi_celestron_gps ${celestrongps_SRC})

target_link_libraries(indi_celestron_gps indidriver)
Expand Down

0 comments on commit a96dae0

Please sign in to comment.