Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Rename project to SAL
  • Loading branch information
emberian committed Oct 9, 2012
1 parent 0997925 commit 8c9c11d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Expand Up @@ -6,7 +6,7 @@ file(GLOB_RECURSE sal_headers include/*.h)

include_directories(include)

add_library(SoftwareAbstractionLayer SHARED ${sal_sources})
add_library(SAL SHARED ${sal_sources})

if(MSVC)
set(CMAKE_C_FLAGS_RELEASE "/arch:AVX /Gr /O2 /MP /Za")
Expand All @@ -16,11 +16,11 @@ endif()
set(CMAKE_THREAD_PREFER_PTHREAD true)
find_package(Threads REQUIRED)

target_link_libraries(SoftwareAbstractionLayer ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(SAL ${CMAKE_THREAD_LIBS_INIT})

if(NOT WIN32)
find_package(OpenSSL REQUIRED)
include_directories(${OPENSSL_INCLUDE_DIRS})
target_link_libraries(SoftwareAbstractionLayer ${OPENSSL_LIBRARIES})
target_link_libraries(SAL ${OPENSSL_LIBRARIES})
install(FILES ${sal_headers} DESTINATION include/SAL)
endif()

0 comments on commit 8c9c11d

Please sign in to comment.