Skip to content

Commit

Permalink
Fixed miscompilation due to missing libraries on AIX
Browse files Browse the repository at this point in the history
Added the find_packages directive in the right place now.
  • Loading branch information
mathausmendel committed Mar 7, 2016
1 parent 70fcca0 commit 19d1657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ add_subdirectory(Net)
list(APPEND Poco_COMPONENTS "Net")
endif()

# Pthreads/threads support
find_package(Threads REQUIRED)

#NetSSL

Expand Down
2 changes: 0 additions & 2 deletions PageCompiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ set(POCO_EXENAME "PageCompiler")
file(GLOB SRCS_G "src/*.cpp")
POCO_SOURCES_AUTO( SRCS ${SRCS_G})

find_package(Threads REQUIRED)

add_executable( "${POCO_EXENAME}" ${SRCS} )
set_target_properties( "${POCO_EXENAME}"
PROPERTIES
Expand Down

0 comments on commit 19d1657

Please sign in to comment.