Commits

Shlomi Fish committed cf60f00

Got a "cmake .." to pass.

The problem was that angle brackets do not look in the same directory.

  • Participants
  • Parent commits 6ca7cc3

Comments (0)

Files changed (1)

File pthreads/CMakeLists.txt

     ADD_DEFINITIONS("-DPTHREAD_RWLOCK_FCFS_DEBUG=1")
 ENDIF (${DEBUG})
 
+# So it can find the header files under pthread because we use
+# #include with angle brackets (<...>).
+INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR})
 # So it can find config.h
 INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_BINARY_DIR})