Browse Source

ENH: the ecos headers are always in the binary dir

Alex
Alexander Neundorf 19 years ago
parent
commit
c37f2c20d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/UseEcos.cmake

+ 1 - 1
Modules/UseEcos.cmake

@@ -53,7 +53,7 @@ MACRO(ECOS_ADD_INCLUDE_DIRECTORIES)
    ENDIF (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/../ProjectSources.txt)
 
 #the ecos include directory
-   INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/ecos/install/include/ ${CMAKE_CURRENT_BINARY_DIR}/ecos/install/include/)
+   INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/ecos/install/include/)
 
 ENDMACRO(ECOS_ADD_INCLUDE_DIRECTORIES)