Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
pbustos authored Jan 7, 2024
1 parent 4ffd371 commit a759aeb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.10)


IF ( "$$ENV{ROBOCOMP}" STREQUAL "")
MESSAGE(WARNING "ROBOCOMP variable not set. Using the default value: /opt/robocomp")
SET (ENV{ROBOCOMP} "/opt/robocomp/")
MESSAGE(WARNING "ROBOCOMP variable not set. Using the default value: /home/robocomp/robocomp")
SET (ENV{ROBOCOMP} "/home/robocomp/robocomp/")
ENDIF ( "$$ENV{ROBOCOMP}" STREQUAL "")

IF(NOT EXISTS $$ENV{ROBOCOMP}/cmake)
Expand Down Expand Up @@ -41,7 +41,7 @@ SET (EXECUTABLE_OUTPUT_PATH $${RC_COMPONENT_DEVEL_PATH}/bin)
${wrap_ui}

# no-char8_t to avoid a problem with ICE Connection lib.
add_definitions(-g -fmax-errors=1 -fno-char8_t)
add_definitions(-fmax-errors=1 -fno-char8_t)

# Specify construction and link process
ADD_EXECUTABLE( ${component_name} $${SOURCES} $${MOC_SOURCES} $${RC_SOURCES} $${UI_HEADERS} )
Expand Down

0 comments on commit a759aeb

Please sign in to comment.