Skip to content

Commit

Permalink
Fix sse4.1 on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Feb 23, 2017
1 parent 0dcb6b3 commit 5118384
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -84,6 +84,7 @@ if (STATIC)
endif()

if (WIN32)
add_definitions(-D__SSE4_1__)
if (MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)

Expand Down
3 changes: 3 additions & 0 deletions cppan.yml
Expand Up @@ -126,6 +126,9 @@ projects:
- _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS=1
- USE_STD_NAMESPACE=1
- WINDLLNAME="tesseract"
win32:
public:
- __SSE4_1__
shared:
definitions:
private:
Expand Down

2 comments on commit 5118384

@amitdo
Copy link
Collaborator

@amitdo amitdo commented on 5118384 Feb 23, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about avx?

@egorpugin
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In progress.

Please sign in to comment.